-
Notifications
You must be signed in to change notification settings - Fork 91
Add nbmake to dependencies and update GitHub action to test notebooks. #666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…re cascading of rename to triangle.columns_label.
…st jupyter notebooks.
|
@jbogaardt, I may need some assistance on one of the failing notebooks, some changes last year caused this cell to fail, but it ventures into some code that I have yet to figure out. The reprex is:
|
…r copy that had the previous ordering. Closes casact#667.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #666 +/- ##
==========================================
- Coverage 85.10% 85.00% -0.11%
==========================================
Files 85 85
Lines 4869 4883 +14
Branches 619 626 +7
==========================================
+ Hits 4144 4151 +7
- Misses 517 522 +5
- Partials 208 210 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The checks have passed. There's a bunch going on here, so to sum it up:
Lastly, there are some previous commits that I thought were merged in previous PRs, I'd request from the reviewer to please let me merge this PR myself after approving so I can get them cleared. |
|
@genedan since this PR contains a decent amount doc changes, can you please add it to a version on RTD so it's easier to review? @kennethshsu do we want to add black as a dependency? |
| "ename": "ValueError", | ||
| "evalue": "Invalid axis specified. Please specify the correct string or integer representation of the desired axis.", | ||
| "ename": "NameError", | ||
| "evalue": "name 'clrd' is not defined", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
appears to be an error
|
@henrydingliu, how would I go about adding a version to RTD? This is my first time updating the docs, so I'm not sure what the procedure is (contributing to the RTD account directly vs. hosting a docs of my own fork, etc.). |
|
on your own fork, you can create an RTD account, connect it to your github account, and then follow the RTD GUI to set up a new RTD instance for your fork. I did this for myself. I think this is fine for tinkering. But I think it's a little less collaborative. Which is where I'd like to explore creating versions of the doc on the main repo. But I haven't figured it out. you can see my failed attempts. @jbogaardt why didn't creating a branch called v0.8.x automatically start a new build on stable? |
Sorry that I'm a bit late to the discussion, I don't really know... I feel like this is forcing the users to use black, and I know some prefer another linter... |
|
I've created a RTD of my fork: https://gd-cl-dev.readthedocs.io Regarding jupyter-black, I'll defer to you guys. It's not part of the core API and relatively easy to add/remove from the docs, so adding it to the docs/test sections of |
|
That's great - then my vote is to remove it because it's not a true dependency. |
|
@kennethshsu, would you also be okay with removing it from the cells where it appears in the docs? From a search, there are ~8 instances where it appears in the docs: https://chainladder-python.readthedocs.io/en/latest/search.html?q=jupyter_black#. If you could confirm, I'll get started with removing it from the notebooks. |
|
Yes I think that's fine, or just comment it out and write that it's only a linter, which is what I used to do. I probably prefer that they are commented out, so people know that the notebooks are linted, and the linter used is |

Closes #665.